package edu.stu.cs.software.family.base.dao;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.repository.NoRepositoryBean;

import edu.stu.cs.software.family.base.domain.BaseTreeEntity;
/**
 * Implemented with Spring-Data-JPA Repository
 * @author Administrator
 *
 *<p>Extend this interface if you want type safe (no casting necessary) DAO's for
 * your domain objects.
 * @param <T> a type variable
 * @param <LG> the primary key of long for that type
 */
@NoRepositoryBean
public abstract interface GenericTreeDao<T extends BaseTreeEntity<T, LG>, LG extends Serializable> extends GenericDao<T, LG> {

	List<T> getRoot();
}
